package design;

import java.util.HashMap;

public class Singleton {
		
		private Singleton()
		{
		}
		
		private static Singleton harry = null; 
		
		public synchronized static Singleton getInstance()
		{
			if(harry == null)
			{
				harry =  new Singleton();
			}
			return harry;
		}
		
		
		
}
